﻿using Cl.Entity.BaseEntity;
using Parlot.Fluent;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cl.Entity.DataBaseEntity.Goods
{
    [SugarTable("Goods_BaseGoods")]
    public class BaseGoods : EntityBaseComplete
    {

        public int ShopId { get; set; }

        public int GroupId { get; set; }

        public string Title { get; set; } = string.Empty;

        public string Description { get; set; } = string.Empty;

        /// <summary>
        /// 原材料
        /// </summary>
        public string RawMaterial { get; set; } = string.Empty;

        public string Cover { get; set; } = string.Empty;

        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }

        public string Tag { get; set; }

        /// <summary>
        /// 库存量
        /// </summary>
        public int Quantity { get; set; }


        public DateTime AuditTime { get; set; }

        public int AuditUserId { get; set; }

        /// <summary>
        /// 管理员审批后可以正常使用
        /// </summary>
        public string AuditState { get; set; } = string.Empty;

        public string AuditRemark { get; set; } = string.Empty;

    }
}
